package com.personnel.service;

import java.sql.SQLException;
import java.util.List;

import com.personnel.entity.YgPage;
import com.personnel.entity.YgUser;

public interface IYgUserService {
	boolean addYg(YgUser yg) throws SQLException;
	
	boolean updateYgUser(YgUser yg);
	
	boolean deleteYgUser(int y_id);
	
	YgPage findPage(int curPage, int count);
	
	YgUser queryYgUserById(int y_id);
	
	
}
